import Vue from 'vue'
import VueRouter from 'vue-router'
import trial1 from '@/views/trial1.vue'
import trial2 from '@/views/trial2.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/trial1',
    name: 'trial1',
    component: trial1
  },
  {
    path: '/',
    redirect: "/trial1",
  },
  {
    path: '/trial2',
    name: 'trial2',
    component: trial2
  }
]

const router = new VueRouter({
  routes
})

export default router
